package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RvcMappingItem implements Trans<RvcMappingItem, CompleteEntity.RvcMappingItem> {

    /**
     * 错误码
     */
    private Integer code;

    /**
     * 接收卡序号
     */
    private Integer rcvIndex;

    /**
     * 列起点
     */
    private Integer x;

    /**
     * 行起点
     */
    private Integer y;

    /**
     * 宽
     */
    private Integer width;

    /**
     * 高
     */
    private Integer height;

    /**
     * 所属网口序号
     */
    private Integer portIndex;

    /**
     * 所属发送器序号
     */
    private Integer prcIndex;
}

